<script setup type="module">
const data = {
  name : "旺财",
  url:"http://www.atguigu.com",
  logo:"https://tse2-mm.cn.bing.net/th/id/OIP-C.7TR2k4QU06TiowN6oiuZAAHaGk?rs=1&pid=ImgDetMain"
}
</script>

<template>
  <div>
    <a v-bind:href="data.url" target="_self">
      <img :src="data.logo" :alt="data.name"><br>
      <input type="button" :value="`点击访问${data.name}`">
    </a>
  </div>
</template>

<style scoped>

</style>
